using System;

namespace VOL.Entity.DomainModels
{
    /// <summary>
    /// 销售订单DTO（用于出库关联）
    /// </summary>
    public class SalesOrderDto
    {
        /// <summary>
        /// 销售订单ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 销售单号
        /// </summary>
        public string ShopOrderCode { get; set; }

        /// <summary>
        /// 销售日期
        /// </summary>
        public DateTime ShopOrderDate { get; set; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public long CustomerId { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>
        public string ContactPhone { get; set; }

        /// <summary>
        /// 销售部门ID
        /// </summary>
        public string? DeptId { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 负责人ID
        /// </summary>
        public long? UserId { get; set; }

        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public int Status { get; set; }
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        public int ShopAllNum { get; set; }
        public long ShopAllMoney { get; set; }
        public string ShopAllGoods { get; set; }
    }
}
